38 lines
1.1 KiB
Java
38 lines
1.1 KiB
Java
|
package org.bouncycastle.asn1.isismtt.x509;
|
||
|
|
||
|
import org.bouncycastle.asn1.ASN1Object;
|
||
|
import org.bouncycastle.asn1.ASN1Primitive;
|
||
|
import org.bouncycastle.asn1.x500.DirectoryString;
|
||
|
|
||
|
/* loaded from: classes6.dex */
|
||
|
public class AdditionalInformationSyntax extends ASN1Object {
|
||
|
private DirectoryString information;
|
||
|
|
||
|
@Override // org.bouncycastle.asn1.ASN1Object, org.bouncycastle.asn1.ASN1Encodable
|
||
|
public ASN1Primitive toASN1Primitive() {
|
||
|
return this.information.toASN1Primitive();
|
||
|
}
|
||
|
|
||
|
public DirectoryString getInformation() {
|
||
|
return this.information;
|
||
|
}
|
||
|
|
||
|
public static AdditionalInformationSyntax getInstance(Object obj) {
|
||
|
if (obj instanceof AdditionalInformationSyntax) {
|
||
|
return (AdditionalInformationSyntax) obj;
|
||
|
}
|
||
|
if (obj != null) {
|
||
|
return new AdditionalInformationSyntax(DirectoryString.getInstance(obj));
|
||
|
}
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
private AdditionalInformationSyntax(DirectoryString directoryString) {
|
||
|
this.information = directoryString;
|
||
|
}
|
||
|
|
||
|
public AdditionalInformationSyntax(String str) {
|
||
|
this(new DirectoryString(str));
|
||
|
}
|
||
|
}
|