this.oriType = oriType; this.oriValue = oriValue;
oriType = DERObjectIdentifier.getInstance(seq.getObjectAt(1)); oriValue = seq.getObjectAt(2);
return a OtherRecipientInfo object from a tagged object.paramobj the tagged object holding the object we want.paramexplicit true if the object is meant to be explicitly tagged false otherwise.exceptionIllegalArgumentException if the object held by the tagged object cannot be converted. return getInstance(ASN1Sequence.getInstance(obj, explicit));
return getInstance(ASN1Sequence.getInstance(obj, explicit));
return a OtherRecipientInfo object from the given object.paramobj the object we want converted.exceptionIllegalArgumentException if the object cannot be converted. if (obj == null || obj instanceof OtherRecipientInfo) { return (OtherRecipientInfo)obj; } if (obj instanceof ASN1Sequence) { return new OtherRecipientInfo((ASN1Sequence)obj); } throw new IllegalArgumentException("Invalid OtherRecipientInfo: " + obj.getClass().getName());
if (obj == null || obj instanceof OtherRecipientInfo) { return (OtherRecipientInfo)obj; } if (obj instanceof ASN1Sequence) { return new OtherRecipientInfo((ASN1Sequence)obj); } throw new IllegalArgumentException("Invalid OtherRecipientInfo: " + obj.getClass().getName());
return oriType;
return oriValue;
Produce an object suitable for an ASN1OutputStream. OtherRecipientInfo ::= SEQUENCE { oriType OBJECT IDENTIFIER, oriValue ANY DEFINED BY oriType } ASN1EncodableVector v = new ASN1EncodableVector(); v.add(oriType); v.add(oriValue); return new DERSequence(v);
OtherRecipientInfo ::= SEQUENCE { oriType OBJECT IDENTIFIER, oriValue ANY DEFINED BY oriType }
ASN1EncodableVector v = new ASN1EncodableVector(); v.add(oriType); v.add(oriValue); return new DERSequence(v);