/libcore/ojluni/src/main/java/sun/security/x509/ |
D | CertificateValidity.java | 81 DerValue[] seq = derIn.getSequence(2); in construct() local 82 if (seq.length != 2) in construct() 85 if (seq[0].tag == DerValue.tag_UtcTime) { in construct() 87 } else if (seq[0].tag == DerValue.tag_GeneralizedTime) { in construct() 93 if (seq[1].tag == DerValue.tag_UtcTime) { in construct() 95 } else if (seq[1].tag == DerValue.tag_GeneralizedTime) { in construct() 167 DerOutputStream seq = new DerOutputStream(); in encode() local 168 seq.write(DerValue.tag_Sequence, pair); in encode() 170 out.write(seq.toByteArray()); in encode()
|
D | GeneralSubtree.java | 193 DerOutputStream seq = new DerOutputStream(); in encode() local 195 name.encode(seq); in encode() 200 seq.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT, in encode() 206 seq.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT, in encode() 209 out.write(DerValue.tag_Sequence, seq); in encode()
|
D | AuthorityInfoAccessExtension.java | 126 DerValue seq = val.data.getDerValue(); in AuthorityInfoAccessExtension() local 127 AccessDescription accessDescription = new AccessDescription(seq); in AuthorityInfoAccessExtension() 227 DerOutputStream seq = new DerOutputStream(); in encodeThis() local 228 seq.write(DerValue.tag_Sequence, ads); in encodeThis() 229 this.extensionValue = seq.toByteArray(); in encodeThis()
|
D | SubjectInfoAccessExtension.java | 131 DerValue seq = val.data.getDerValue(); in SubjectInfoAccessExtension() local 132 AccessDescription accessDescription = new AccessDescription(seq); in SubjectInfoAccessExtension() 233 DerOutputStream seq = new DerOutputStream(); in encodeThis() local 234 seq.write(DerValue.tag_Sequence, ads); in encodeThis() 235 this.extensionValue = seq.toByteArray(); in encodeThis()
|
D | CertificatePolicySet.java | 62 DerValue[] seq = in.getSequence(5); in CertificatePolicySet() local 64 for (int i = 0; i < seq.length; i++) { in CertificatePolicySet() 65 CertificatePolicyId id = new CertificatePolicyId(seq[i]); in CertificatePolicySet()
|
D | PrivateKeyUsageExtension.java | 89 DerOutputStream seq = new DerOutputStream(); in encodeThis() local 104 seq.write(DerValue.tag_Sequence, tagged); in encodeThis() 105 this.extensionValue = seq.toByteArray(); in encodeThis() 142 DerValue[] seq = str.getSequence(2); in PrivateKeyUsageExtension() local 147 for (int i = 0; i < seq.length; i++) { in PrivateKeyUsageExtension() 148 DerValue opt = seq[i]; in PrivateKeyUsageExtension()
|
D | CRLDistributionPointsExtension.java | 182 DerValue seq = val.data.getDerValue(); in CRLDistributionPointsExtension() local 183 DistributionPoint point = new DistributionPoint(seq); in CRLDistributionPointsExtension() 288 DerOutputStream seq = new DerOutputStream(); in encodeThis() local 289 seq.write(DerValue.tag_Sequence, pnts); in encodeThis() 290 this.extensionValue = seq.toByteArray(); in encodeThis()
|
D | CertificateVersion.java | 169 DerOutputStream seq = new DerOutputStream(); in encode() local 170 seq.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0), in encode() 173 out.write(seq.toByteArray()); in encode()
|
D | X509CRLImpl.java | 289 DerOutputStream seq = new DerOutputStream(); in encodeInfo() local 320 seq.write(DerValue.tag_Sequence, tmp); in encodeInfo() 322 tbsCertList = seq.toByteArray(); in encodeInfo() 1071 DerValue seq[] = new DerValue[3]; in parse() local 1073 seq[0] = val.data.getDerValue(); in parse() 1074 seq[1] = val.data.getDerValue(); in parse() 1075 seq[2] = val.data.getDerValue(); in parse() 1081 if (seq[0].tag != DerValue.tag_Sequence) in parse() 1084 sigAlgId = AlgorithmId.parse(seq[1]); in parse() 1085 signature = seq[2].getBitString(); in parse() [all …]
|
D | EDIPartyName.java | 84 DerValue[] seq = in.getSequence(2); in EDIPartyName() local 86 int len = seq.length; in EDIPartyName() 91 DerValue opt = seq[i]; in EDIPartyName()
|
D | CRLExtensions.java | 160 DerOutputStream seq = new DerOutputStream(); in encode() local 161 seq.write(DerValue.tag_Sequence, extOut); in encode() 166 true, (byte)0), seq); in encode() local 168 tmp = seq; in encode()
|
D | PolicyConstraintsExtension.java | 86 DerOutputStream seq = new DerOutputStream(); in encodeThis() local 100 seq.write(DerValue.tag_Sequence, tagged); in encodeThis() 101 this.extensionValue = seq.toByteArray(); in encodeThis()
|
D | CertificateExtensions.java | 182 DerOutputStream seq = new DerOutputStream(); in encode() local 183 seq.write(DerValue.tag_Sequence, extOut); in encode() 189 seq); in encode() local 191 tmp = seq; // pkcs#10 certificateRequest in encode()
|
D | AuthorityKeyIdentifierExtension.java | 88 DerOutputStream seq = new DerOutputStream(); in encodeThis() local 112 seq.write(DerValue.tag_Sequence, tmp); in encodeThis() 113 this.extensionValue = seq.toByteArray(); in encodeThis()
|
/libcore/luni/src/main/java/android/system/ |
D | IcmpHeaders.java | 51 public static byte[] createIcmpEchoHdr(boolean ipv4, int seq) { in createIcmpEchoHdr() argument 57 bytes[6] = (byte) (seq >> 8); in createIcmpEchoHdr() 58 bytes[7] = (byte) seq; in createIcmpEchoHdr()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | EncryptedPrivateKeyInfo.java | 86 DerValue[] seq = new DerValue[2]; in EncryptedPrivateKeyInfo() local 88 seq[0] = val.data.getDerValue(); in EncryptedPrivateKeyInfo() 89 seq[1] = val.data.getDerValue(); in EncryptedPrivateKeyInfo() 95 this.algid = AlgorithmId.parse(seq[0]); in EncryptedPrivateKeyInfo() 96 if (seq[0].data.available() != 0) { in EncryptedPrivateKeyInfo() 100 this.encryptedData = seq[1].getOctetString(); in EncryptedPrivateKeyInfo() 101 if (seq[1].data.available() != 0) { in EncryptedPrivateKeyInfo()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | OCSPResponse.java | 274 DerValue seq = seqDerIn.getDerValue(); in OCSPResponse() local 277 if (seq.isContextSpecific((byte)0)) { in OCSPResponse() 279 if (seq.isConstructed() && seq.isContextSpecific()) { in OCSPResponse() 281 seq = seq.data.getDerValue(); in OCSPResponse() 282 int version = seq.getInteger(); in OCSPResponse() 283 if (seq.data.available() != 0) { in OCSPResponse() 287 seq = seqDerIn.getDerValue(); in OCSPResponse() 292 short tag = (byte)(seq.tag & 0x1f); in OCSPResponse() 294 responderName = new X500Principal(seq.getData().toByteArray()); in OCSPResponse() 299 responderKeyId = new KeyIdentifier(seq.getData().getOctetString()); in OCSPResponse() [all …]
|
D | X509CertPath.java | 187 DerValue[] seq = dis.getSequence(3); in parsePKIPATH() local 188 if (seq.length == 0) { in parsePKIPATH() 193 certList = new ArrayList<X509Certificate>(seq.length); in parsePKIPATH() 196 for (int i = seq.length-1; i >= 0; i--) { in parsePKIPATH() 198 (new ByteArrayInputStream(seq[i].toByteArray()))); in parsePKIPATH()
|
D | CertId.java | 96 DerValue[] seq = new DerValue[2]; in CertId() local 97 seq[0] = val.data.getDerValue(); // AlgorithmID in CertId() 98 seq[1] = val.data.getDerValue(); // Key in CertId() 99 byte[] keyBytes = seq[1].getBitString(); in CertId()
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | ContentInfo.java | 179 DerOutputStream seq; in encode() local 181 seq = new DerOutputStream(); in encode() 182 seq.putOID(contentType); in encode() 193 seq.putDerValue(taggedContent); in encode() 196 out.write(DerValue.tag_Sequence, seq); in encode()
|
D | SignerInfo.java | 227 DerOutputStream seq = new DerOutputStream(); in derEncode() local 228 seq.putInteger(version); in derEncode() 232 seq.write(DerValue.tag_Sequence, issuerAndSerialNumber); in derEncode() 234 digestAlgorithmId.encode(seq); in derEncode() 238 authenticatedAttributes.encode((byte)0xA0, seq); in derEncode() local 240 digestEncryptionAlgorithmId.encode(seq); in derEncode() 242 seq.putOctetString(encryptedDigest); in derEncode() 246 unauthenticatedAttributes.encode((byte)0xA1, seq); in derEncode() local 249 tmp.write(DerValue.tag_Sequence, seq); in derEncode()
|
/libcore/tools/docs/crypto/ |
D | crypto_docs.py | 34 def find_by_name(seq, name): argument 36 for item in seq:
|
D | update_crypto_support.py | 74 def find_by_normalized_name(seq, name): argument 76 for item in seq: 82 def sort_by_name(seq): argument 84 return sorted(seq, key=lambda x: x['name'])
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StringBuilder.java | 125 public StringBuilder(CharSequence seq) { in StringBuilder() argument 126 this(seq.length() + 16); in StringBuilder() 127 append(seq); in StringBuilder()
|
/libcore/ojluni/src/main/java/java/net/ |
D | Inet6AddressImpl.java | 261 for (int to = timeout, seq = 1; to > 0; ++seq) { in icmpEcho() 266 packet = IcmpHeaders.createIcmpEchoHdr(isIPv4, seq); in icmpEcho() 282 if (receivedSequence <= seq) { in icmpEcho()
|