33 lines
974 B
Java
33 lines
974 B
Java
|
package org.bouncycastle.asn1;
|
||
|
|
||
|
import java.io.IOException;
|
||
|
|
||
|
/* loaded from: classes6.dex */
|
||
|
public class BERSetParser implements ASN1SetParser {
|
||
|
private ASN1StreamParser _parser;
|
||
|
|
||
|
@Override // org.bouncycastle.asn1.ASN1Encodable
|
||
|
public ASN1Primitive toASN1Primitive() {
|
||
|
try {
|
||
|
return getLoadedObject();
|
||
|
} catch (IOException e) {
|
||
|
throw new ASN1ParsingException(e.getMessage(), e);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // org.bouncycastle.asn1.ASN1SetParser
|
||
|
public ASN1Encodable readObject() throws IOException {
|
||
|
return this._parser.readObject();
|
||
|
}
|
||
|
|
||
|
@Override // org.bouncycastle.asn1.InMemoryRepresentable
|
||
|
public ASN1Primitive getLoadedObject() throws IOException {
|
||
|
return new BERSet(this._parser.readVector());
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public BERSetParser(ASN1StreamParser aSN1StreamParser) {
|
||
|
this._parser = aSN1StreamParser;
|
||
|
}
|
||
|
}
|