pem-dev
[Top] [All Lists]

Re: Proper way to represent a NULL (no entries) CRL?

1993-06-24 03:09:00
 An empty SEQUENCE which is an OPTIONAL element is absent in the 
encoding.

I would be happy with the interpretation that an empty SEQUENCE which is 
OPTIONAL 
as a whole MUST be absent in the encoding. But ISO 8825 clause 15 about 
the encoding
of <SEQUENCE OF> values gives me evidence that encoding this as a SEQUENCE 
of zero
length would be in line with 8825, too. Can you provide me the conclusion 
why
it MUST be absent?

X.209 clause 15.2 refers to the content octets of the SEQUENCE.  The SEQUENCE 
tag and 
length still get encoded.  This is the "SEQUENCE containing empty OPTIONAL 
elements".

See X.208 clause 20.4 Note 2
See also X.208 clause 36.6.9,  and subparagraphs.


So you say encoding the 'SEQUENCE OF CRLEntry' for an empty CRL as a SEQUENCE
with zero length is illegal? Or is it allowed?
  

John


Wolfgang

<Prev in Thread] Current Thread [Next in Thread>