fn unwrap_explicitly_tagged_block(
        wrapped: &ASN1Block,
    ) -> Result<(ASN1Block, BigUint), KeyDerParsingError> {
        if let ASN1Block::Explicit(ASN1Class::ContextSpecific, _offset, tag, unwrapped) = wrapped {
            Ok(((**unwrapped).clone(), (*tag).clone()))
        } else {
            Err(Self::parsing_error(&format!(
                "Expected Explict-block, got {:?}",
                wrapped
            )))
        }
    }
/// Attempts to parse the given ASN1Block as an explicitly tagged type
Attempts to parse the given ASN1Block as an explicitly tagged type
Attempts to parse the given ASN1Block as an explicitly tagged type
fn unwrap_explicitly_tagged_block(
        wrapped: &ASN1Block,
    ) -> Result<(ASN1Block, BigUint), KeyDerParsingError> {
        if let ASN1Block::Explicit(ASN1Class::ContextSpecific, _offset, tag, unwrapped) = wrapped {
            Ok(((**unwrapped).clone(), (*tag).clone()))
        } else {
            Err(Self::parsing_error(&format!(
                "Expected Explict-block, got {:?}",
                wrapped
            )))
        }
    }
fn unwrap_explicitly_tagged_block ( wrapped : & ASN1Block , ) -> Result < ( ASN1Block , BigUint ) , KeyDerParsingError > { if let ASN1Block :: Explicit ( ASN1Class :: ContextSpecific , _offset , tag , unwrapped ) = wrapped { Ok ( ( ( * * unwrapped ) . clone ( ) , ( * tag ) . clone ( ) ) ) } else { Err ( Self :: parsing_error ( & format ! ( " " wrapped ) ) ) } }
Attempts to parse the given ASN1Block as an explicitly tagged type
Attempts to parse the given ASN1Block as an explicitly tagged type
wrapped
&ASN1Block
wrapped
&ASN1Block